package com.yiren.backstage.config.bean.device;

import com.yiren.backstage.config.bean.BaseParamConfigBean;

/**
 * Created by WANGRONGXIANG
 * on 2022/5/18
 * Describe 练车检测参数配置
 */
public class PracticeCarCheckConfigBean extends BaseParamConfigBean {

    private float zdbpsValue;            //制动不平顺检测灵敏度
    private float qbcdValue;             //起步闯动检测灵敏度
    private boolean realTimePlayGrade;   //扣分后实时播报扣分
    private boolean cdbCheckGear;        //传动比检测挡位
    private boolean failureImEndExam;    //不及格马上结束考试
    private int startExamProject;        //开始考试执行的项目(1:上车准备 2：灯光 3：起步)

    public static PracticeCarCheckConfigBean getDefaultPracticeCarCheckConfig() {
        PracticeCarCheckConfigBean practiceCarConfig = new PracticeCarCheckConfigBean();
        practiceCarConfig.setZdbpsValue(1);
        practiceCarConfig.setQbcdValue(1);
        practiceCarConfig.setRealTimePlayGrade(true);
        practiceCarConfig.setCdbCheckGear(false);
        practiceCarConfig.setFailureImEndExam(false);
        practiceCarConfig.setStartExamProject(1);
        return practiceCarConfig;
    }

    public float getZdbpsValue() {
        return zdbpsValue;
    }

    public void setZdbpsValue(float zdbpsValue) {
        this.zdbpsValue = zdbpsValue;
    }

    public float getQbcdValue() {
        return qbcdValue;
    }

    public void setQbcdValue(float qbcdValue) {
        this.qbcdValue = qbcdValue;
    }

    public boolean isRealTimePlayGrade() {
        return realTimePlayGrade;
    }

    public void setRealTimePlayGrade(boolean realTimePlayGrade) {
        this.realTimePlayGrade = realTimePlayGrade;
    }

    public boolean isCdbCheckGear() {
        return cdbCheckGear;
    }

    public void setCdbCheckGear(boolean cdbCheckGear) {
        this.cdbCheckGear = cdbCheckGear;
    }

    public boolean isFailureImEndExam() {
        return failureImEndExam;
    }

    public void setFailureImEndExam(boolean failureImEndExam) {
        this.failureImEndExam = failureImEndExam;
    }

    public int getStartExamProject() {
        return startExamProject;
    }

    public void setStartExamProject(int startExamProject) {
        this.startExamProject = startExamProject;
    }
}
